package com.artisan.medium.admin.service;

import com.artisan.common.pojo.PageBean;
import com.artisan.model.AddressInfos;
import com.artisan.model.Business;
import com.artisan.model.Worker;

import java.util.List;
import java.util.Map;

/**
 * Created by szw on 2017/6/29.
 */
public interface OrderOverViewService {

    public Map<String, Object> orderStatistics();

    public PageBean queryOrders(String orderNo, String phone, Integer busaId, Integer busbId, Integer buscId, String startTime,
                                String endTime, Integer state, String provId, String cityId, String areaId, Integer page, Integer pageSize);

    public Map<String, Object> qOrderDetail(String orderNo);

    public List<Business> qBusiness(Integer pid, String tag);

    public List<AddressInfos> qAddress(String pid);

    public List<Worker> queryWorkers(String orderNo);

    public int disPatchOrder(String orderNo, Integer workerId);

    public int confirmOrderFinished(String orderNo);
}
